<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2017/10/26
  Time: 12:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isELIgnored="false" session="true"%>
<%@taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE html>
<html>
<head>
    <base href="<%=basePath%>">
    <title><s:message code="M_3520_TOOL_SPARE_APPLY_TAG" /></title>
    <%@ include file="/page/comPage/comCSS.html"%>
    <%@ include file="/page/comPage/navbar.html"%>
    <style>
        #topDiv{
            margin-top:20px;
        }
        #bottomDiv{
            margin-top:40px;
        }
    </style>
</head>
<body>
<div class="container-fluid" id="divTotal">
    <div class="col-lg-12 btnDivCss">
        <button class="btn btn btn-info" id="query_btn"><s:message code="QUERY_BTN_TAG"/></button>
        <button class="btn btn-primary" id="add_btn"><s:message code="ADD_TAG"/></button>
        <button class="btn btn-warning" id="update_btn"><s:message code="UPDATE_TAG"/></button>
        <button class="btn btn-danger" id="del_btn"><s:message code="DELETE_TAG"/></button>
        <button class="btn btn-success" id="save_btn"><s:message code="SAVE_TAG"/></button>
    </div>
    <div id="topDiv" class="col-sm-6">
        <fieldset>
            <legend><s:message code="TOOL_SPARE_TAG"/></legend>
        </fieldset>
        <form  class="form-horizontal">
            <div class="form-group">
                <label class="control-label col-sm-3" for="applyType">
                    <s:message code="TOOL_SPARE_TYPE_TAG" />
                </label>
                <div class="col-sm-6">
                    <select id="applyType" class="form-control" style="width: 100%"></select>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-sm-3" for="toolNameId">
                    <s:message code="TOOL_SPARE_TAG" />
                </label>
                <div class="col-sm-6">
                    <select id="toolNameId" class="form-control"style="width: 100%"></select>
                </div>
            </div>

            <div class="form-group">
                <label class="control-label col-sm-3" for="backDest">
                    备品备件仓
                </label>
                <div class="col-sm-6">
                    <select id="backDest" class="form-control"style="width: 100%"></select>
                </div>
            </div>
        </form>
    </div>
    <div id="bottomDiv" class="col-lg-12 col-md-12 col-sm-12">
        <ul id="mytab" class="nav nav-tabs">
            <li class="active"><a id="tab1" href="#tabPane_apply" data-toggle="tab"> <s:message code="TOOL_SPARE_APPLY_TAG"/>
            </a></li>
            <li ><a id="tab2" href="#tabPane_lend" data-toggle="tab">  <s:message code="TOOL_SPARE_DEAL_LEND_TAG" />
            </a></li>
        </ul>
        <div class="tab-content">
            <div class="tab-pane active row" id="tabPane_apply"   style="margin-top: 20px">
                <div id="toolListDiv" class="col-lg-12 col-md-12 col-sm-12">
                    <table id="toolListGrd" style="height: 1px;"></table>
                    <div id="toolListPg"></div>
                </div>
            </div>
            <div class="tab-pane row"       id="tabPane_lend"    style="margin-top: 20px" >
                <div id="dealListDiv" class="col-lg-12 col-md-12 col-sm-12">
                    <table id="dealListGrd" style="height: 1px;"></table>
                    <div id="dealListPg"></div>
                </div>
            </div>
        </div>
    </div>
</div>

<div id="mtrlDialog" class="modal fade" tabindex="-1"role="dialog" aria-labelledby="title" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <!-- 模框头部 -->
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-hidden="true">×</button>
                <h4 class="modal-title">备品备件信息</h4>
            </div>
            <!-- 模框主体 -->
            <div class="modal-body">
                <div class="container-fluid">
                   <%-- <div class="col-lg-12 btnDivCss">
                        <button class="btn btn btn-info" id="queryBtn"><s:message code="QUERY_BTN_TAG"/></button>
                    </div>--%>
                    <form  class="form-horizontal row">
                        <div class="control-group">
                            <label class="control-label col-lg-2 col-md-2 col-sm-2" for  for="mtrlNameId">
                                <s:message code="TOOL_SPARE_TAG" />
                            </label>
                            <div class="col-lg-3 col-md-3 col-sm-3">
                                <select id="mtrlNameId" class="form-control" style="width: 100%;"></select>
                            </div>
                        </div>

                        <div class="control-group">
                            <label class="control-label col-lg-2 col-md-2 col-sm-2" for  for="dest_shop">
                               备品备件仓
                            </label>
                            <div class="col-lg-3 col-md-3 col-sm-3">
                                <select id="dest_shop" class="form-control" style="width: 100%;"></select>
                            </div>
                        </div>

                    </form>
                    <div  class="col-lg-12 col-md-12 col-sm-12">
                        <fieldset>
                            <legend><s:message code="TOOL_SPARE_LIST_TAG"/></legend>
                        </fieldset>
                        <div id="mtrlListDiv" class="col-lg-12 col-md-12 col-sm-12">
                            <table id="mtrlListGrd"style="height: 1px;"></table>
                            <div id="mtrlListPg"></div>
                        </div>
                    </div>
                </div>
                <!-- 模框底部 -->
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary"
                            id="sureBtn">
                        <s:message code="SURE_COMMIT_TAG" />
                    </button>
                    <button type="button" class="btn btn-default" data-dismiss="modal"
                            id="cancelBtn">
                        <s:message code="CANCEL_TAG" />
                    </button>
                </div>
            </div>
        </div>
    </div>
</div>

<%@ include file="/page/comPage/comJS.html"%>
<script src="js/page/3000/3520.js"></script>
</body>
</html>